//
//  BrokenLineViewController.m
//  BrokenLine
//
//  Created by Rookie_YX on 16/10/19.
//  Copyright © 2016年 Rookie_YX. All rights reserved.
//

#import "BrokenLineViewController.h"
#import "YXBrokenView.h"
@interface BrokenLineViewController ()

@end

@implementation BrokenLineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  NSArray*dataArray = @[@100.0,@200.0,@500.0,@300.0,@530.0,@100.0,@600.0,@380.0,@460.0,@100.0,@200.0,@540.0];
  YXBrokenView * view = [[YXBrokenView alloc]initWithFrame:CGRectMake(20, 100, self.view.frame.size.width - 40, 300) dataArr:dataArray brokenLineViewYMaxNum:6] ;
  [self.view addSubview:view];
}



@end
